<?php foreach($reservation->getAoiLegs() as $leg): ?>
	<br/>
    - <?php if(isset($adminView) && $adminView): ?><a href="<?php echo url_for('admin_legs_edit', array('action'=>'edit','id'=>$leg->getId())) ?>"><?php endif; ?>
      Vol <?php echo $leg->getAoiFlightSchedule()->getFlightCode() ?>
      <?php if(isset($adminView) && $adminView): ?></a><?php endif; ?>,
    de <?php echo $leg->getAoiFlightSchedule()->getAoiOriginAirport()->getName() ?> <?php echo date('d/m/Y h:i',strtotime($leg->getActualDepartureTime())); ?>
		à <?php echo $leg->getAoiFlightSchedule()->getAoiDestinationAirport()->getName() ?> <?php echo date('d/m/Y h:i',strtotime($leg->getActualArrivalTime())); ?>
<?php endforeach; ?>